package com.taotao.cn.controller.loginctl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 *
 * @author dimdark
 * @date 2017-03-13
 * @time 8:41 PM
 */
@Controller
public class LoginController {

    @RequestMapping("/login")
    public String toLogin(){
        return "/res/html/login.html";
    }

    @RequestMapping("/register")
    public String toRegister(){
        return "/res/html/register.html";
    }

}
